package zli.proxy.staticproxy;

/**
 * @Desc
 * @Author Zerlinda
 * @Date 2022/5/13 13:48
 * @Version 1.0
 */
public class ZhangLaoSan implements IPerson {
    private ZhangSan zhangSan;

    public ZhangLaoSan(ZhangSan zhangSan) {
        this.zhangSan = zhangSan;
    }

    public void findLove() {
        System.out.println("张老三开始物色");
        zhangSan.findLove();
        System.out.println("开始交往");
    }
}
